package com.jiegui.business.service.impl;

import java.util.List;
import com.jiegui.common.utils.DateUtils;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.jiegui.business.mapper.SeatInfoMapper;
import com.jiegui.business.domain.SeatInfo;
import com.jiegui.business.service.SeatInfoService;

/**
 * 展位信息Service业务层处理
 * 
 * @author wuqicheng
 * @date 2024-11-20
 */
@Service
public class SeatInfoServiceImpl extends ServiceImpl<SeatInfoMapper, SeatInfo> implements SeatInfoService
{
    @Resource
    private SeatInfoMapper seatInfoMapper;

    /**
     * 查询展位信息
     * 
     * @param id 展位信息主键
     * @return 展位信息
     */
    @Override
     public SeatInfo selectSeatInfoById(String id)
    {
        return seatInfoMapper.selectById(id);
    }

    /**
     * 查询展位信息列表
     * 
     * @param seatInfo 展位信息
     * @return 展位信息
     */
    @Override
    public List<SeatInfo> selectSeatInfoList(SeatInfo seatInfo)
    {
        return seatInfoMapper.selectSeatInfoList(seatInfo);
    }

    /**
     * 新增展位信息
     * 
     * @param seatInfo 展位信息
     * @return 结果
     */
    @Override
    public  int insertSeatInfo(SeatInfo seatInfo)
    {
        return seatInfoMapper.insert(seatInfo);
    }

    /**
     * 修改展位信息
     * 
     * @param seatInfo 展位信息
     * @return 结果
     */
    @Override
    public  int updateSeatInfo(SeatInfo seatInfo)
    {

        return seatInfoMapper.updateById(seatInfo);
    }




}
